package com.ouc.yyi.utils;

import org.springframework.core.convert.converter.Converter;

import java.sql.Timestamp;

public class String2TimestampUtil implements Converter<String, Timestamp> {

	public Timestamp convert(String source) {
		Timestamp timestamp = Timestamp.valueOf(source);
		return timestamp;
	}

}
